
<?php
	//phpinfo();
	$link = mysql_connect("localhost", "root", "198222")  or die("Could not connect: ".mysql_error()."<br/>");
	echo "Connected successfully<br/>";
	mysql_select_db("test") or die("Could not test database<br/>");
	echo "Connected test db successfully<br/>";
	mysql_select_db("mysql") or die("Could not mysql database<br/>");
	echo "Connected mysql db successfully<br/>";
	mysql_close();
?>